package com.stx.threeGrup.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpSession;

/**
 * Created by Administrator on 2019/6/12
 */
@Controller
@RequestMapping("/return")
public class ReturnController {

    @RequestMapping("/returnIndex")
    public ModelAndView returnIndex(ModelAndView mav,HttpSession session) {
//        ModelAndView mav = new ModelAndView();
        UserController uc = new UserController();
//        uc.getAllUser(session);
        mav.setViewName("WEB-INF/houtai/index");
        return mav;
    }
    @RequestMapping("/returnNewslist")
    public ModelAndView returnNewslist(ModelAndView mav) {
//        ModelAndView mav = new ModelAndView();
        mav.setViewName("WEB-INF/houtai/newslist");
        return mav;
    }
}
